package com.modbus.tcp.domain;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 安装位置传感器表 positionsensor
 *
 * @author d
 * @date 2024-01-13
 */
@Data
public class Positionsensor implements Serializable {
    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "传感器类型ID")
    @TableField(value = "psid")
    private Integer psid;


    @ApiModelProperty(value = "灭火位置ID")
    @TableField(value = "id")
    private Integer id;


    @ApiModelProperty(value = "分区编号")
    @TableField(value = "partcode")
    private Integer partcode;


    @ApiModelProperty(value = "采集通道编号")
    @TableField(value = "channelcode")
    private Integer channelcode;


    @ApiModelProperty(value = "类型编号")
    @TableField(value = "sensortype")
    private Integer sensortype;


    @ApiModelProperty(value = "修改时间")
    @TableField(value = "datadate")
    private Date datadate;


    @ApiModelProperty(value = "传感器名称")
    @TableField(exist = false)
    private String sensorname;

}